package com.example.firstboot.service;

import com.example.firstboot.entity.TbUser;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.firstboot.entity.TbDoconduty;
import com.example.firstboot.mapper.TbDocondutyMapper;

import java.util.List;

@Service
public class TbDocondutyService{

    @Resource
    private TbDocondutyMapper tbDocondutyMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return tbDocondutyMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(TbDoconduty record) {
        return tbDocondutyMapper.insert(record);
    }

    
    public int insertSelective(TbDoconduty record) {
        return tbDocondutyMapper.insertSelective(record);
    }

    
    public TbDoconduty selectByPrimaryKey(Integer id) {
        return tbDocondutyMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(TbDoconduty record) {
        return tbDocondutyMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(TbDoconduty record) {
        return tbDocondutyMapper.updateByPrimaryKey(record);
    }

    public int remainingnumByt1(String account) {return tbDocondutyMapper.remainingnumByt1(account);}

    public int remainingnumByt2(String account) {return tbDocondutyMapper.remainingnumByt2(account);}

    public int remainingnumByt3(String account) {return tbDocondutyMapper.remainingnumByt3(account);}

    public int remainingnumByt4(String account) {return tbDocondutyMapper.remainingnumByt4(account);}

    public int remainingnumByt5(String account) {return tbDocondutyMapper.remainingnumByt5(account);}

    public int remainingnumByt6(String account) {return tbDocondutyMapper.remainingnumByt6(account);}

    public void numSourceDec1(String account, int num) {tbDocondutyMapper.numSourceDec1(account,num);}
    public void numSourceDec2(String account, int num) {tbDocondutyMapper.numSourceDec2(account,num);}
    public void numSourceDec3(String account, int num) {tbDocondutyMapper.numSourceDec3(account,num);}
    public void numSourceDec4(String account, int num) {tbDocondutyMapper.numSourceDec4(account,num);}
    public void numSourceDec5(String account, int num) {tbDocondutyMapper.numSourceDec5(account,num);}
    public void numSourceDec6(String account, int num) {tbDocondutyMapper.numSourceDec6(account,num);}



}
